package com.youhome.service.service.impl;

import com.youhome.service.mapper.BTemplateHtmlMapper;
import com.youhome.service.model.BTemplateHtml;
import com.youhome.service.service.BTemplateHtmlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by chen365 on 2017/12/25.
 */
@Service
public class BTemplateHtmlServiceImpl implements BTemplateHtmlService {
    @Autowired
    private BTemplateHtmlMapper bTemplateHtmlMapper;

    @Override
    public BTemplateHtml selectByPrimaryKey(Long id) {
        return bTemplateHtmlMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<BTemplateHtml> selectByBean(BTemplateHtml record) {
        return bTemplateHtmlMapper.selectByBean(record);
    }
}
